package com.smbms.mapper;

import com.smbms.entity.SmbmsBill;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SmbmsBillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SmbmsBill record);

    SmbmsBill selectByPrimaryKey(Long id);

    List<SmbmsBill> selectAll();

    int updateByPrimaryKey(SmbmsBill record);

	List<SmbmsBill> selectByPage(
			@Param("queryProductName") String queryProductName,
			@Param("queryProviderId") Integer queryProviderId,
			@Param("queryIsPayment") Integer queryIsPayment,
			@Param("startRow")int startRow,
			@Param("pageSize")int pageSize);

	int selectByPageCount(
			@Param("queryProductName") String queryProductName,
			@Param("queryProviderId") Integer queryProviderId,
			@Param("queryIsPayment") Integer queryIsPayment);
}